<?php
// +----------------------------------------------------------------------
// | xiongrui [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.xiongrui.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.xiongrui.cn>
// +----------------------------------------------------------------------
namespace app\common\model;


class WxUser extends Base{

  public $editfield = array(
		array('name'=>'id','type'=>'hidden'),
		array('name'=>'name','title'=>'姓名','type'=>'text','help'=>''),
		array('name'=>'phone','title'=>'电话','type'=>'text','help'=>''),
		array('name'=>'birthday','title'=>'生日','type'=>'datetime','help'=>'')
	);

  protected function getIsBlacklistTextAttr($value, $data){
		$status = array(0=>'否',1=>'是');
		return $status[$data['is_blacklist']];
	}


}
